Lint
Linting is the first step where the RTL code is statically analyzed to detect issues that violate common design guidelines, such as undeclared signals, mixing of blocking and non-blocking assignments, unconnected ports, mismatched widths, unreachable code, and other structural errors. This step ensures the design is clean, consistent, and structurally sound before proceeding to CDC or synthesis.
Lint Directory Structure
lint
├── inputs
│ ├── design_config.tcl -> <path_to_design_config.tcl>
│ └── tech_config.tcl -> <path_to_design_config.tcl>
├── logs
│ └── lint.log
├── outputs
├── reports
│ ├── checks.rpt
│ └── stats.json
├── scripts
│ └── lint.run
└── tmp
Files Description
| Path | File | Description |
|---|---|---|
| inputs/ | design_config.tcl | Design configuration file specifying RTL and design-specific settings. |
| tech_config.tcl | Technology configuration file specifying PDK, library paths, physical design parameters and flow specific settings. | |
| logs/ | lint.log | Log file capturing the output of the linting run, including messages and errors. |
| reports/ | checks.rpt | Summary report for Error and warning during the run. |
| stats.json | Used to populate the stage-specific dashboard with metrics and run information for the lint stage. | |
| scripts/ | lint.run | Script used to execute the linting flow. Often includes tool commands and settings. |
| tmp/ | Temporary working directory used during the linting process. |